package com.onlinemovies.service;

import java.util.List;

import javax.servlet.http.HttpSession;

import com.onlinemovies.entity.User;

public interface UserService {

	List<User> getAll() throws Exception;
    User doRegistration(User user) throws Exception;
	boolean doLogIn(User user, HttpSession httpSession);
	void dologout(HttpSession httpSession);
}
